<?php

/**
 * StoreOrder form.
 *
 * @package    ProdAssistant
 * @subpackage form
 * @author     Paweł Świtalla
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class StoreOrderForm extends BaseStoreOrderForm
{
  public function configure()
  {
    $this->useFields(array('demand_id', 'user_id', 'address_id'));
    $this->setWidget('demand_id', new sfWidgetFormInputHidden());
    $this->setWidget('user_id', new sfWidgetFormInputHidden());
    
    $this->validatorSchema->setOption('allow_extra_fields', true);
  }
}
